package com.acme.domain.bank;

import com.acme.domain.account.Account;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Client implements Serializable {
    List<Account> accounts = new ArrayList<Account>();
    String name;
    Gender gender;

    public Client(String name, Gender gender) {
        this.name = name;
        this.gender = gender;
    }

    public void addAccount(Account account) {
        accounts.add(account);
    }


}
